﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Trade.Model
{
    public class UserInfo
    {
        private string userId;
        private string userName;
        private string userDes;
        private string pwd;
        private DateTime startDate;
        private DateTime endDate;
        private bool lockFlag;
        private bool adminFlag;

        public UserInfo()
        {
        }

        public UserInfo(string userId, string userName, string userDes, string pwd, DateTime startDate, DateTime endDate, bool lockFlag, bool adminFlag)
        {
            this.userId = userId;
            this.userName = userName;
            this.userDes = userDes;
            this.pwd = pwd;
            this.startDate = startDate;
            this.endDate = endDate;
            this.lockFlag = lockFlag;
            this.adminFlag = adminFlag;
        }

        public string UserId
        {
            get { return userId; }
            set { userId = value; }
        }

        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        public string UserDes
        {
            get { return userDes; }
            set { userDes = value; }
        }

        public string Pwd
        {
            get { return pwd; }
            set { pwd = value; }
        }

        public DateTime StartDate
        {
            get { return startDate; }
            set { startDate = value; }
        }

        public DateTime EndDate
        {
            get { return endDate; }
            set { endDate = value; }
        }

        public bool LockFlag
        {
            get { return lockFlag; }
            set { lockFlag = value; }
        }

        public bool AdminFlag
        {
            get { return adminFlag; }
            set { adminFlag = value; }
        }
    }
}
